package com.zerui.manager.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import java.time.LocalDateTime;

/**
 * @Author wh
 * @create_time 2023-09-02 11:03
 */
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude
public class OpenPlanVO {

    @ApiModelProperty("主键，无业务含义")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("计划是否生效")
    private Boolean accept;

    @ApiModelProperty("有效日期")
    private String date;

    @ApiModelProperty("有效时间")
    private String time;

    @ApiModelProperty("是否包含周末，1：是，0：否")
    private Boolean weekend;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private LocalDateTime createTime;
}
